package com.itfreer.cms.service.content;

import javax.ws.rs.Path;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.itfreer.cms.entity.content.ColumnEntity;
import com.itfreer.cms.service.content.ColumnService;
import com.itfreer.form.api.BaseRestService;
import com.itfreer.form.api.BaseService;

/**
 * 定义栏目管理服务
 */
@Component
@Path("/cms_column/")
public class RestColumnService extends BaseRestService<ColumnEntity> {
	
	/**
	 * 栏目管理接口
	 */
	@Autowired
	private ColumnService columnManage;

	@Override
	protected BaseService<ColumnEntity> getService() {
		return columnManage;
	}
	
	@Override
	protected String getServiceName() {
		return "cms_column";
	}
}
